package jeons.admin.buildproduct.biz.impl;

import jeons.admin.buildproduct.biz.TestBiz;
import jeons.admin.buildproduct.dto.TestDTO;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.orm.ibatis.SqlMapClientTemplate;
import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class TestBizImpl extends SqlMapClientDaoSupport implements TestBiz{
	@Autowired SqlMapClientTemplate sqlMapClientTemplate;
	
	
	@Override
	public TestDTO insertData(TestDTO testDTO) {
		return (TestDTO) sqlMapClientTemplate.insert("Test.insertData");
	}
		

}
